// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial

export X := Rectangle {
    eh := Invalid {
//       ^error{Unknown type Invalid}
        foo: 42;
    }
    width: eh.bhal;

    property <int> hello: eh.foo;
}
